package com.zycx.system.menu.mapper;

import com.zycx.common.entity.CamelMap;
import com.zycx.system.menu.entity.Menu;
import com.zycx.common.mybatis.MyBatisMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Description:
 * Created by zycx on 2018-12-10 21:40
 * Created with IntelliJ IDEA.
 */
public interface MenuMapper extends MyBatisMapper<Menu> {

    /**
     * 分页
     *
     * @param params 参数
     * @return 分页
     */
    List<CamelMap> findPage(@Param("params") Map<String, Object> params);


    /**
     * 修改菜单
     *
     * @param menu 菜单
     */
    void putMenu(Menu menu);

}
